package mspbots.qbd.data.online.account;

import com.fasterxml.jackson.databind.JsonNode;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * data.connector.datasync.quickbooks.account.OnlineAccount
 * QuickBooks
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2020/5/29
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table("qbo_accounts")
public class OnlineAccount implements Serializable {

    @Id
    private Long id;
    private Long tenantId;
    private Long otherId;
    private LocalDateTime syncTime;
    private LocalDateTime updatedTime;
    private LocalDateTime createdTime;
    private JsonNode extend;

}
